package com.anpy.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 日历图片关联实体类
 */
@Data
@TableName(value = "T_DATE_LINE_IMAGE")
@ApiModel(description = "日历图片关联信息")
public class DateLineImageEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "关联ID", example = "1")
    private Long id;

    @TableField(value = "date_line_id")
    @ApiModelProperty(value = "日历事件ID", example = "1")
    private Integer dateLineId;

    @TableField(value = "photo_id")
    @ApiModelProperty(value = "图片ID", example = "1")
    private Integer photoId;
}
